package com.github.wxiaoqi.security.admin.mapper;

import org.beetl.sql.core.annotatoin.Param;
import org.beetl.sql.core.mapper.BaseMapper;

import com.github.wxiaoqi.security.admin.entity.Group;

public interface GroupMapper extends BaseMapper<Group> {
    void deleteGroupMembersById (@Param("groupId") int groupId);
    void deleteGroupLeadersById (@Param("groupId") int groupId);
    void insertGroupMembersById (@Param("groupId") int groupId,@Param("userId") int userId);
    void insertGroupLeadersById (@Param("groupId") int groupId,@Param("userId") int userId);
}